package com.jiejie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 辰广
 * @since 2022-10-05
 */
public class Flow implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 流水id
     */
    @TableId(value = "flow_id", type = IdType.AUTO)
    private Integer flowId;

    /**
     * 流水编号
     */
    private String flowNum;

    /**
     * 订单id
     */
    private Integer orderId;

    /**
     * 订单编号
     */
    private String orderNum;

    /**
     * 用户id
     */
    private Integer customerId;

    /**
     * 实际支付金额
     */
    private Double flowPrice;

    /**
     * 支付状态
     */
    private Integer flowStatus;

    /**
     * 锁
     */
    private Integer flowVersion;

    private LocalDateTime flowCreateTime;

    private LocalDateTime flowUpdateTime;

    private String orther1;

    private String orther2;

    public Integer getFlowId() {
        return flowId;
    }

    public void setFlowId(Integer flowId) {
        this.flowId = flowId;
    }
    public String getFlowNum() {
        return flowNum;
    }

    public void setFlowNum(String flowNum) {
        this.flowNum = flowNum;
    }
    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }
    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }
    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }
    public Double getFlowPrice() {
        return flowPrice;
    }

    public void setFlowPrice(Double flowPrice) {
        this.flowPrice = flowPrice;
    }
    public Integer getFlowStatus() {
        return flowStatus;
    }

    public void setFlowStatus(Integer flowStatus) {
        this.flowStatus = flowStatus;
    }
    public Integer getFlowVersion() {
        return flowVersion;
    }

    public void setFlowVersion(Integer flowVersion) {
        this.flowVersion = flowVersion;
    }
    public LocalDateTime getFlowCreateTime() {
        return flowCreateTime;
    }

    public void setFlowCreateTime(LocalDateTime flowCreateTime) {
        this.flowCreateTime = flowCreateTime;
    }
    public LocalDateTime getFlowUpdateTime() {
        return flowUpdateTime;
    }

    public void setFlowUpdateTime(LocalDateTime flowUpdateTime) {
        this.flowUpdateTime = flowUpdateTime;
    }
    public String getOrther1() {
        return orther1;
    }

    public void setOrther1(String orther1) {
        this.orther1 = orther1;
    }
    public String getOrther2() {
        return orther2;
    }

    public void setOrther2(String orther2) {
        this.orther2 = orther2;
    }

    @Override
    public String toString() {
        return "Flow{" +
            "flowId=" + flowId +
            ", flowNum=" + flowNum +
            ", orderId=" + orderId +
            ", orderNum=" + orderNum +
            ", customerId=" + customerId +
            ", flowPrice=" + flowPrice +
            ", flowStatus=" + flowStatus +
            ", flowVersion=" + flowVersion +
            ", flowCreateTime=" + flowCreateTime +
            ", flowUpdateTime=" + flowUpdateTime +
            ", orther1=" + orther1 +
            ", orther2=" + orther2 +
        "}";
    }
}
